package com.uenpay.oem.ui.withdraw;

import com.uenpay.oem.data.bean.UserTradePoundageInfo;
import com.uenpay.service.bean.BankCardInfo;
import com.uenpay.service.bean.TransBankCardList;
import com.uenpay.util.app.base.BaseLoadingView;
import com.uenpay.util.app.base.BasePresenter;
import com.uenpay.util.net.listener.HttpResultListener;

/**
 * Created by PS on 2017/6/21.
 */

public interface WithdrawContract {
    interface View extends BaseLoadingView {
        void setTransBankCardList(TransBankCardList<BankCardInfo> list);
        void poundageSucced(boolean result);
        void getpoundage(UserTradePoundageInfo poundage);
        //void setRecommendBank(int position);
    }

    interface Presenter extends BasePresenter {
        void getTransBankCardList();
        /**
         * 费率的接口
         */
        void getPoundagemaney(String tradeType);
        /**
         * 提现
         *
         * @param amount
         *            提现金额
         * @param userBankCardId
         *            银行卡主键id
         * @param
         *
         */
        //void getCash(String amount, String userBankCardId);

        /**
         * 获取payToken
         */
        void getpayToen(String pws,double amount,String userBankCardId);

        //void chooseBank(int position);
    }
}
